package server

import (
	"context"
	p1 "gRPCStudy/p1"
	"google.golang.org/grpc"
)

type Server struct {
	p1.GreeterClient
}

func (s *Server) SayHello(ctx context.Context, in *p1.HelloRequest, opts ...grpc.CallOption) (*p1.HelloReply, error) {
	return &p1.HelloReply{Message: "conect server successful"}, nil
}
